import React from 'react'
import Header from './components/Header'
import { renderRoutes } from 'react-router-config'

function App(props) {

    return (
        <div>
            <Header staticContext={props.staticContext}></Header>
            {renderRoutes(props.route.routes)}
        </div>
    )
}

export default App;